﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

using Unis.Framework.ORM.Attributes;
using System.ComponentModel.DataAnnotations;


namespace KingRoad.EPM.PersonnelLogEntity.Model
{
    /// <summary> 
    /// 文件生成时间 2017/1/12 11:34:44
    /// </summary> 
    [Serializable]
    [ModelMap("Plm_SupervisorLog", new string[] { "Sl_ID" })]
    public class PlmSupervisorlogInfo : BaseEntity
    {
        public PlmSupervisorlogInfo()
        {

        }
        
        
        private string _slId;
        /// <summary>
        /// 主键
        /// </summary>
        [ColumnMap("Sl_ID", System.Data.DbType.String)]
        public string Sl_ID
        {
            get {return _slId;}
            set
            {
                if (object.Equals(this._slId, value) != true)
                {
                    this._slId = value;
                    this.RaisePropertyChanged("Sl_ID");
                }
            }
        }
        
        
        private int _slUserid;
        /// <summary>
        /// 操作人ID
        /// </summary>
        [ColumnMap("Sl_UserID", System.Data.DbType.Int32)]
        public int Sl_UserID
        {
            get {return _slUserid;}
            set
            {
                if (object.Equals(this._slUserid, value) != true)
                {
                    this._slUserid = value;
                    this.RaisePropertyChanged("Sl_UserID");
                }
            }
        }
        
        
        private string _slUsername;
        /// <summary>
        /// 操作人名称
        /// </summary>
        [ColumnMap("Sl_UserName", System.Data.DbType.String)]
        public string Sl_UserName
        {
            get {return _slUsername;}
            set
            {
                if (object.Equals(this._slUsername, value) != true)
                {
                    this._slUsername = value;
                    this.RaisePropertyChanged("Sl_UserName");
                }
            }
        }
        
        
        private DateTime _slUpdatetime;
        /// <summary>
        /// 操作日期
        /// </summary>
        [ColumnMap("Sl_UpdateTime", System.Data.DbType.DateTime)]
        public DateTime Sl_UpdateTime
        {
            get {return _slUpdatetime;}
            set
            {
                if (object.Equals(this._slUpdatetime, value) != true)
                {
                    this._slUpdatetime = value;
                    this.RaisePropertyChanged("Sl_UpdateTime");
                }
            }
        }
        
        
        private string _slSection;
        /// <summary>
        /// 标段
        /// </summary>
        [ColumnMap("Sl_Section", System.Data.DbType.String)]
        public string Sl_Section
        {
            get {return _slSection;}
            set
            {
                if (object.Equals(this._slSection, value) != true)
                {
                    this._slSection = value;
                    this.RaisePropertyChanged("Sl_Section");
                }
            }
        }
        
        
        private string _slContractnumber;
        /// <summary>
        /// 合同号
        /// </summary>
        [Required(ErrorMessage = "*")]
        [StringLength(20, ErrorMessage = "字符长度超出范围")]
        [ColumnMap("Sl_ContractNumber", System.Data.DbType.String)]
        public string Sl_ContractNumber
        {
            get {return _slContractnumber;}
            set
            {
                if (object.Equals(this._slContractnumber, value) != true)
                {
                    this._slContractnumber = value;
                    this.RaisePropertyChanged("Sl_ContractNumber");
                }
            }
        }
        
        
        private string _slSupervisionnumber;
        /// <summary>
        /// 监理日志编号
        /// </summary>
        [Required(ErrorMessage = "*")]
        [StringLength(20, ErrorMessage = "字符长度超出范围")]
        [ColumnMap("Sl_SupervisionNumber", System.Data.DbType.String)]
        public string Sl_SupervisionNumber
        {
            get {return _slSupervisionnumber;}
            set
            {
                if (object.Equals(this._slSupervisionnumber, value) != true)
                {
                    this._slSupervisionnumber = value;
                    this.RaisePropertyChanged("Sl_SupervisionNumber");
                }
            }
        }
        
        
        private string _slChecknumber;
        /// <summary>
        /// 旁站记录编号
        /// </summary>
        [ColumnMap("Sl_CheckNumber", System.Data.DbType.String)]
        public string Sl_CheckNumber
        {
            get {return _slChecknumber;}
            set
            {
                if (object.Equals(this._slChecknumber, value) != true)
                {
                    this._slChecknumber = value;
                    this.RaisePropertyChanged("Sl_CheckNumber");
                }
            }
        }
        
        
        private DateTime _slRecorddate;
        /// <summary>
        /// 记录日期
        /// </summary>
        [ColumnMap("Sl_RecordDate", System.Data.DbType.DateTime)]
        public DateTime Sl_RecordDate
        {
            get {return _slRecorddate;}
            set
            {
                if (object.Equals(this._slRecorddate, value) != true)
                {
                    this._slRecorddate = value;
                    this.RaisePropertyChanged("Sl_RecordDate");
                }
            }
        }
        
        
        private string _slRecorduser;
        /// <summary>
        /// 记录人
        /// </summary>
        [Required(ErrorMessage = "*")]
        [StringLength(20, ErrorMessage = "字符长度超出范围")]
        [ColumnMap("Sl_RecordUser", System.Data.DbType.String)]
        public string Sl_RecordUser
        {
            get {return _slRecorduser;}
            set
            {
                if (object.Equals(this._slRecorduser, value) != true)
                {
                    this._slRecorduser = value;
                    this.RaisePropertyChanged("Sl_RecordUser");
                }
            }
        }
        
        
        private string _slSpecialtyposition;
        /// <summary>
        /// 专业职位
        /// </summary>
        [Required(ErrorMessage = "*")]
        [StringLength(20, ErrorMessage = "字符长度超出范围")]
        [ColumnMap("Sl_SpecialtyPosition", System.Data.DbType.String)]
        public string Sl_SpecialtyPosition
        {
            get {return _slSpecialtyposition;}
            set
            {
                if (object.Equals(this._slSpecialtyposition, value) != true)
                {
                    this._slSpecialtyposition = value;
                    this.RaisePropertyChanged("Sl_SpecialtyPosition");
                }
            }
        }
        
        
        private string _slSupervisorname;
        /// <summary>
        /// 监理单位
        /// </summary>
        [Required(ErrorMessage = "*")]
        [StringLength(50, ErrorMessage = "字符长度超出范围")]
        [ColumnMap("Sl_SupervisorName", System.Data.DbType.String)]
        public string Sl_SupervisorName
        {
            get {return _slSupervisorname;}
            set
            {
                if (object.Equals(this._slSupervisorname, value) != true)
                {
                    this._slSupervisorname = value;
                    this.RaisePropertyChanged("Sl_SupervisorName");
                }
            }
        }
        
        
        private string _slSupervisorscope;
        /// <summary>
        /// 监理范围
        /// </summary>
        [ColumnMap("Sl_SupervisorScope", System.Data.DbType.String)]
        public string Sl_SupervisorScope
        {
            get {return _slSupervisorscope;}
            set
            {
                if (object.Equals(this._slSupervisorscope, value) != true)
                {
                    this._slSupervisorscope = value;
                    this.RaisePropertyChanged("Sl_SupervisorScope");
                }
            }
        }
        
        
        private string _slAuditman;
        /// <summary>
        /// 审核人
        /// </summary>
        [ColumnMap("Sl_AuditMan", System.Data.DbType.String)]
        public string Sl_AuditMan
        {
            get {return _slAuditman;}
            set
            {
                if (object.Equals(this._slAuditman, value) != true)
                {
                    this._slAuditman = value;
                    this.RaisePropertyChanged("Sl_AuditMan");
                }
            }
        }
        
        
        private string _slWeather;
        /// <summary>
        /// 天气情况
        /// </summary>
        [ColumnMap("Sl_Weather", System.Data.DbType.String)]
        public string Sl_Weather
        {
            get {return _slWeather;}
            set
            {
                if (object.Equals(this._slWeather, value) != true)
                {
                    this._slWeather = value;
                    this.RaisePropertyChanged("Sl_Weather");
                }
            }
        }
        
        
        private string _slConstructionsituation;
        /// <summary>
        /// 主要施工情况
        /// </summary>
        [ColumnMap("Sl_ConstructionSituation", System.Data.DbType.String)]
        public string Sl_ConstructionSituation
        {
            get {return _slConstructionsituation;}
            set
            {
                if (object.Equals(this._slConstructionsituation, value) != true)
                {
                    this._slConstructionsituation = value;
                    this.RaisePropertyChanged("Sl_ConstructionSituation");
                }
            }
        }
        
        
        private string _slSupervisorjob;
        /// <summary>
        /// 监理主要工作
        /// </summary>
        [ColumnMap("Sl_SupervisorJob", System.Data.DbType.String)]
        public string Sl_SupervisorJob
        {
            get {return _slSupervisorjob;}
            set
            {
                if (object.Equals(this._slSupervisorjob, value) != true)
                {
                    this._slSupervisorjob = value;
                    this.RaisePropertyChanged("Sl_SupervisorJob");
                }
            }
        }
        
        
        private string _slProblemsdispose;
        /// <summary>
        /// 问题及处理情况
        /// </summary>
        [ColumnMap("Sl_ProblemsDispose", System.Data.DbType.String)]
        public string Sl_ProblemsDispose
        {
            get {return _slProblemsdispose;}
            set
            {
                if (object.Equals(this._slProblemsdispose, value) != true)
                {
                    this._slProblemsdispose = value;
                    this.RaisePropertyChanged("Sl_ProblemsDispose");
                }
            }
        }
        
        
        private string _slConstructionname;
        /// <summary>
        /// 施工单位
        /// </summary>
        [ColumnMap("Sl_ConstructionName", System.Data.DbType.String)]
        public string Sl_ConstructionName
        {
            get {return _slConstructionname;}
            set
            {
                if (object.Equals(this._slConstructionname, value) != true)
                {
                    this._slConstructionname = value;
                    this.RaisePropertyChanged("Sl_ConstructionName");
                }
            }
        }
        
        
        private string _slContractsection;
        /// <summary>
        /// 合同段
        /// </summary>
        [ColumnMap("Sl_ContractSection", System.Data.DbType.String)]
        public string Sl_ContractSection
        {
            get {return _slContractsection;}
            set
            {
                if (object.Equals(this._slContractsection, value) != true)
                {
                    this._slContractsection = value;
                    this.RaisePropertyChanged("Sl_ContractSection");
                }
            }
        }
        
        
        private string _slSideman;
        /// <summary>
        /// 旁站人
        /// </summary>
        [ColumnMap("Sl_SideMan", System.Data.DbType.String)]
        public string Sl_SideMan
        {
            get {return _slSideman;}
            set
            {
                if (object.Equals(this._slSideman, value) != true)
                {
                    this._slSideman = value;
                    this.RaisePropertyChanged("Sl_SideMan");
                }
            }
        }
        
        
        private DateTime? _slSidetime;
        /// <summary>
        /// 旁站时间
        /// </summary>
        [ColumnMap("Sl_SideTime", System.Data.DbType.DateTime)]
        public DateTime? Sl_SideTime
        {
            get {return _slSidetime;}
            set
            {
                if (object.Equals(this._slSidetime, value) != true)
                {
                    this._slSidetime = value;
                    this.RaisePropertyChanged("Sl_SideTime");
                }
            }
        }

         private string _slSideproject;
        /// <summary>
        /// 旁站项目
        /// </summary>
        [ColumnMap("Sl_SideProject", System.Data.DbType.String)]
        public string Sl_SideProject
        {
            get {return _slSideproject;}
            set
            {
                if (object.Equals(this._slSideproject, value) != true)
                {
                    this._slSideproject = value;
                    this.RaisePropertyChanged("Sl_SideProject");
                }
            }
        }

        private string _slConstructionsketch;
        /// <summary>
        /// 施工过程简述
        /// </summary>
        [ColumnMap("Sl_ConstructionSketch", System.Data.DbType.String)]
        public string Sl_ConstructionSketch
        {
            get {return _slConstructionsketch;}
            set
            {
                if (object.Equals(this._slConstructionsketch, value) != true)
                {
                    this._slConstructionsketch = value;
                    this.RaisePropertyChanged("Sl_ConstructionSketch");
                }
            }
        }
        
        
        private string _slSidejob;
        /// <summary>
        /// 旁站工作情况
        /// </summary>
        [ColumnMap("Sl_SideJob", System.Data.DbType.String)]
        public string Sl_SideJob
        {
            get {return _slSidejob;}
            set
            {
                if (object.Equals(this._slSidejob, value) != true)
                {
                    this._slSidejob = value;
                    this.RaisePropertyChanged("Sl_SideJob");
                }
            }
        }
        
        
        private string _slDaterecord;
        /// <summary>
        /// 主要数据记录
        /// </summary>
        [ColumnMap("Sl_DateRecord", System.Data.DbType.String)]
        public string Sl_DateRecord
        {
            get {return _slDaterecord;}
            set
            {
                if (object.Equals(this._slDaterecord, value) != true)
                {
                    this._slDaterecord = value;
                    this.RaisePropertyChanged("Sl_DateRecord");
                }
            }
        }
        
        
        private string _slDisposeresult;
        /// <summary>
        /// 发现的问题及处理结果
        /// </summary>
        [ColumnMap("Sl_DisposeResult", System.Data.DbType.String)]
        public string Sl_DisposeResult
        {
            get {return _slDisposeresult;}
            set
            {
                if (object.Equals(this._slDisposeresult, value) != true)
                {
                    this._slDisposeresult = value;
                    this.RaisePropertyChanged("Sl_DisposeResult");
                }
            }
        }
        private int _assist_ID;
        /// <summary>
        /// 附件id
        /// </summary>
        [ColumnMap("Assist_ID", System.Data.DbType.Int32)]
        public int Assist_ID
        {
            get { return _assist_ID; }
            set
            {
                if (object.Equals(this._assist_ID, value) != true)
                {
                    this._assist_ID = value;
                    this.RaisePropertyChanged("Assist_ID");
                }
            }
        }
        
    }
}


